//
//  ShareCenterProtocol.h
//  ShareCenter
//
//  Created by yutao on 14-2-18.
//  Copyright (c) 2014年 yutao. All rights reserved.
//
#import "ShareCenterConfig.h"

#define kShareClientServiceTypeWeiBo              @"sina"
#define kShareClientServiceTypeQQZone             @"qq"

#import <Foundation/Foundation.h>
@class ShareMessageInfo;
@class ShareClientInfo;
@class ShareClientUserInfo;
@protocol ShareCenterProtocol <NSObject>
@required
- (ShareClientInfo *)serviceInfo;
- (BOOL)isAvailable;
- (void)shareMessage:(ShareMessageInfo *)message;

@optional
- (void)registerApplication;
- (void)login;
- (BOOL)logout;
- (BOOL)isValid;
- (BOOL)handleOpenURL:(NSURL *)url;
//- (void)applicationDidBecomeActive:(UIApplication *)application;
//- (void)setRootViewController:(UIViewController *)controller; // weak
- (void)loadUserInfo;


@end
